<!DOCTYPE html>

<form action="http://%T%Ae">
<select onChange="submit();">
  <option >A</option>
  <option >B</option>
  <option >C</option>
</select>
</form>

<p>Test passes if there is no crash</p>

<script>
if (window.testRunner)
    testRunner.dumpAsText();

window.onload = () => {
    const x=document.querySelector('select');
    x.options[2].selected=true;
    var evt = document.createEvent("HTMLEvents");
    evt.initEvent("change", true, true);
    x.dispatchEvent(evt);
};
</script>

